2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_get_n_rows):
Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
svn path=/trunk/; revision=19349
--- /dev/null
+2008-01-11 Li Yuan <li.yuan@sun.com>
+
+ * gailtreeview.c: (gail_tree_view_get_n_rows):
+ Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
+
root_tree = gtk_tree_path_new_root ();
iterate_thru_children (tree_view, tree_model,
root_tree, NULL, &n_rows, 0);
- g_free (root_tree);
+ gtk_tree_path_free (root_tree);
}
return n_rows;